home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / text / misc / port / string / strcpy.s < prev    next >
Encoding:
Text File  |  1996-09-07  |  170 b   |  14 lines

  1.  
  2.     XDEF    StrCpy
  3.  
  4. ; Copies a string.
  5.  
  6. ; Args:
  7. ; A0 = Pointer to the destination string.
  8. ; A1 = Pointer to the source string.
  9.  
  10. StrCpy:
  11.     move.b    (a1)+,(a0)+
  12.     bne.b    StrCpy
  13.     rts
  14.